package net.zdreamer.shunyi.utils.ListUtils;

import net.zdreamer.shunyi.R;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Objects;

/**
 * Created by Admin on 2014/12/25.
 */
public class MessageInfos implements Serializable {
    public List<MessageInfo> messageinfos = new ArrayList<MessageInfos.MessageInfo>();

    public MessageInfos() {
        MessageInfo messageinfo=new MessageInfo();
        for (int i=0;i<10;i++){
           HashMap<String, Integer> map=new HashMap<String,Integer>();
            map.put("touxiang",R.drawable.yonghutouxiang);
            messageinfo.imageURL.add(map);
            messageinfo.name="小明";
            messageinfo.signature="大家好才是真的好";
            messageinfo.time="13分钟前";
            messageinfos.add(messageinfo);
        }
    }

    public class MessageInfo implements Serializable {
        public String name, time, signature;
        public List<HashMap<String, Integer>> imageURL = new ArrayList<HashMap<String, Integer>>();
    }
}
